package com.gs.api.projects.shejiao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guoshao
 * @since 2021-10-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TMemberUser extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 父ID
     */
    private String parentId;

    /**
     * 等级
     */
    private Integer level;

    /**
     * 状态  1启用  2禁用
     */
    private Integer status;
    /**
     * 邀请码
     */
    private String shareCode;

    /**
     * 二维码
     */
    private String qrCode;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 冻结余额
     */
    private BigDecimal frozenBalance;

    private String appid;

    /**
     * 创建时间
     */
    private Date createTime;


}
